package io.github.bigbird0101.youyishi.spring.bean.load.statistics;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.experimental.SuperBuilder;

/**
 * @author Lily
 */
@EqualsAndHashCode(callSuper = true)
@Data
@SuperBuilder
public class Condition extends Statistics {
    Action action;

    @AllArgsConstructor
    @Getter
    public enum Action{
        BEAN_INSTANTIATION_BEFORE,
        BEAN_INSTANTIATION_AFTER,
        BEAN_INIT_BEFORE,
        BEAN_INIT_AFTER;
    }
}
